package csu.edu.flatprogram.service;
import csu.edu.flatprogram.common.CommonResponse;
import csu.edu.flatprogram.vo.OrderVO;

import java.util.List;

public interface OrderService {
    CommonResponse<List<OrderVO>> getOrderByUserId(String userId);
    CommonResponse<OrderVO> getOrdersByOrderId(String orderId);
    CommonResponse<OrderVO> addOrder(OrderVO orderVO);
    CommonResponse<List<OrderVO>> searchOrderList(String keyword);

    CommonResponse<OrderVO> deleteOrder(OrderVO orderVO);
}
